// get_arg.h
//

#if !defined(GETARG_H)
#define GETARG_H


#include <string>
//#include <iosfwd>
#include <fstream>
#include <boost/shared_ptr.hpp>
#include "components/panda_db_cursor.h"
#include "components/libpq++/libpq++.h"


enum eREGION {eMASKED = 1, eINVERSE = 2, eWHOLE = 4};
class t_program_args
{
public:
	std::string		login;
	boost::shared_ptr<t_pg_cursor>
					pg_db;

	
	// for error / progress messages etc.
	std::string		paml;
    std::string		table;
    unsigned		region;


	// for initializing this struct
	friend
	bool process_command_line_options(int argc, char* argv[], t_program_args& args);
};

bool process_command_line_options(int argc, char* argv[], t_program_args& args);
#endif //GETARG_H

